<template>
  <view class="box"
    :style="{
      padding,
      backgroundColor,
    }">
    <slot></slot>
  </view>
</template>

<script>
import ktUtil from "@/uni_modules/kantboot-framework-uniapp/libs/util"

export default {
  props: {
    padding: {
      type: [String, Number],
      default: "30rpx"
    },
    backgroundColor: {
      type: String,
      default: "#FFFFFF"
    }
  },
  data() {
    return {
      ktUtil,
    };
  },
  methods: {
    loading() {

    },
  }
}
</script>

<style lang="scss" scoped>
.box{
  box-sizing: border-box;
}
</style>
